#pragma once


using namespace System;
using namespace System::Data::SQLite;
using namespace System::Windows::Forms;

ref class ReadSqlite
{
public:
	ReadSqlite(void);
	System::Void Reader(String ^ database ,System::String^ nameTable, array<String^>^ fieldsName);
	
	void SetWidthFields(array<unsigned int >^ width);
	array<unsigned int >^ GetWidthFields();

	void SetVisibleFields(array<unsigned int>^ fields);
	void SetDataGridView(System::Windows::Forms::DataGridView^ grid);
	

private:
	array<unsigned int>^ G_widthFields;
	array<unsigned int>^ G_VisibleFields;
	array<String^>^      G_fieldsName;

	System::Windows::Forms::DataGridView^ G_grid;

};
